package com.ethink.mdm.api;

import com.ethink.mdm.api.info.CountryPortInfo;
import com.ethink.mdm.api.response.CountryPortCountryInfoTreeResponse;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.List;

/**
 * @author 辉辉 2022/12/19 10:35
 */
@FeignClient(name = "ethink-mdm-service", path = "mdm-service/facade/v1/countryPort", contextId = "countryPortFacade")
public interface CountryPortFacade {

    @PostMapping("/listCountryPort")
    @ResponseBody
    List<CountryPortCountryInfoTreeResponse> listCountryPort();

}
